GET PropertyTypes?assetTypeId={assetTypeId}&take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}
Retrieves property types for the given parameters.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetTypeId |
Id of the asset type |
globally unique identifier |
None. |
take |
Number of property types to retrieve. Default is all property types |
integer |
None. |
skip |
Number of property types to skip before retrieval |
integer |
Default value is 0 |
sort |
List of sorting rules to describe how to sort the property types before retrieval |
Collection of Sort |
None. |
Operator | string |
None. |
|
Field | string |
None. |
|
Value | string |
None. |
|
Logic | string |
None. |
|
Filters | Collection of Filter |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of property types.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of PropertyType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "PropertyTypeId": "4d2a2013-efed-45ec-96f2-63b053afccf8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "dc6d1a58-03b4-4bcb-9fdc-513cd804caee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1b5a4aa5-ca70-4772-9b7a-e26c1276be65", "CreateDate": "2024-04-28T20:33:19.3356178-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T20:33:19.3356178-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "b9deb562-4605-4cf1-87dc-ab25d6cb029f", "Name": "sample string 1" }, "Unit": { "UnitId": "acb485cc-fea8-453d-b4a7-826e0325cea1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "69e2a0a4-925d-4c73-9712-e830b5564e74", "CreateDate": "2024-04-28T20:33:19.3356178-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T20:33:19.3356178-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "a702afc7-77e4-498b-9647-4eab812a1061", "CreateDate": "2024-04-28T20:33:19.3356178-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T20:33:19.3356178-07:00", "LastModifiedUser": "sample string 7" }, { "PropertyTypeId": "4d2a2013-efed-45ec-96f2-63b053afccf8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "dc6d1a58-03b4-4bcb-9fdc-513cd804caee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1b5a4aa5-ca70-4772-9b7a-e26c1276be65", "CreateDate": "2024-04-28T20:33:19.3356178-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T20:33:19.3356178-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "b9deb562-4605-4cf1-87dc-ab25d6cb029f", "Name": "sample string 1" }, "Unit": { "UnitId": "acb485cc-fea8-453d-b4a7-826e0325cea1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "69e2a0a4-925d-4c73-9712-e830b5564e74", "CreateDate": "2024-04-28T20:33:19.3356178-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T20:33:19.3356178-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "a702afc7-77e4-498b-9647-4eab812a1061", "CreateDate": "2024-04-28T20:33:19.3356178-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T20:33:19.3356178-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }